Optimal. Leaf size=54 \[ -\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {663, 217, 203} \begin {gather*} -\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 217
Rule 663
Rubi steps
\begin {align*} \int \frac {\sqrt {a^2-b^2 x^2}}{(a+b x)^2} \, dx &=-\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\int \frac {1}{\sqrt {a^2-b^2 x^2}} \, dx\\ &=-\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\operatorname {Subst}\left (\int \frac {1}{1+b^2 x^2} \, dx,x,\frac {x}{\sqrt {a^2-b^2 x^2}}\right )\\ &=-\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 51, normalized size = 0.94 \begin {gather*} -\frac {\frac {2 \sqrt {a^2-b^2 x^2}}{a+b x}+\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 73, normalized size = 1.35 \begin {gather*} -\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {\sqrt {-b^2} \log \left (\sqrt {a^2-b^2 x^2}-\sqrt {-b^2} x\right )}{b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 66, normalized size = 1.22 \begin {gather*} -\frac {2 \, {\left (b x - {\left (b x + a\right )} \arctan \left (-\frac {a - \sqrt {-b^{2} x^{2} + a^{2}}}{b x}\right ) + a + \sqrt {-b^{2} x^{2} + a^{2}}\right )}}{b^{2} x + a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 126, normalized size = 2.33 \begin {gather*} -\frac {\arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}}\right )}{\sqrt {b^{2}}}-\frac {\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}}{a b}-\frac {\left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {3}{2}}}{\left (x +\frac {a}{b}\right )^{2} a \,b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.95, size = 40, normalized size = 0.74 \begin {gather*} -\frac {\arcsin \left (\frac {b x}{a}\right )}{b} - \frac {2 \, \sqrt {-b^{2} x^{2} + a^{2}}}{b^{2} x + a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {a^2-b^2\,x^2}}{{\left (a+b\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- \left (- a + b x\right ) \left (a + b x\right )}}{\left (a + b x\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________